package com.graduationproject.examonline.exam.mapper;

import com.graduationproject.examonline.exam.entity.Exam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExamMapper {
    public int insertExam(Map<String, Object> params);

    public List<Exam> getExamListByTeachId(String teach_id);

    public int updateExamById(Map<String, Object> params);
    public List<Exam> getExamListByClassId(String class_id);
    public List<Exam> getExamListById(String exam_id);
    public List<Exam> getExamList();
}
